package com.ronri.ams.bean;

import java.util.List;

/**
 * 文件：ams.java
 * 包名：com.ronri.ams.bean;
 * 说明：
 * 作者：MS During
 * 日期：2017/5/22
 * 历史：
 */
public class bannerbean {

    /**
     * code : 0
     * data : [{"start_time":"2017-05-02 00:00:00","end_time":"2017-06-02 00:00:00","pic":"http://192.168.0.77:8080/ams/upload/image/20170522/1495431324096.jpg"},{"start_time":"2017-05-02 00:00:00","end_time":"2017-06-03 00:00:00","pic":"http://192.168.0.77:8080/ams/upload/image/20170522/1495431312340.jpg"},{"start_time":"2017-05-03 00:00:00","end_time":"2017-07-08 00:00:00","pic":"http://192.168.0.77:8080/ams/upload/image/20170522/1495430947897.jpg"}]
     * message : success
     * success : true
     */

    private int code;
    private String message;
    private boolean success;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * start_time : 2017-05-02 00:00:00
         * end_time : 2017-06-02 00:00:00
         * pic : http://192.168.0.77:8080/ams/upload/image/20170522/1495431324096.jpg
         */

        private String start_time;
        private String end_time;
        private String pic;

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public String getEnd_time() {
            return end_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }
    }
}
